﻿@model IEnumerable<Scoot.Services.Members.MemberModel>

<table>
	<tr>
		<th>Name</th>
		<th>Actions</th>
	</tr>
	@foreach (var member in Model)
	{
		<tr>
			<td>@member.Name</td>
			<td>
				@Html.ActionLink("Edit", "Edit", new { id = member.ID })
				@if (member.IsActive)
				{
					@:| @Html.ActionLink("Retire", "Retire")
				}
			</td>
		</tr>
	}
</table>